package com.sunrise.xdoc.view.list;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.SessionScoped;

import com.sunrise.xdoc.entity.user.User;

@ManagedBean
@SessionScoped
public class UserList extends AbstractEntityList<User> {
	private static final long serialVersionUID = -9183530968417776432L;

	@ManagedProperty(value = "#{userDataModel}")
	private UserDataModel dataModel;

	public UserDataModel getDataModel() {
		return dataModel;
	}

	public void setDataModel(UserDataModel dataModel) {
		this.dataModel = dataModel;
	}
	
	@Override
	public String getEditView(){
		return "/pages/snippets/userDetail";
	}
}
